package com.kzx.blog.model;

import lombok.Data;

/**
 * @author kongz
 * @version 1.0 2021/12/14 9:24
 * @description 博客评论实体类
 */
@Data
public class Comment {
    /*
    编号
     */
    private int id;
    /*
    博客id
     */
    private int blogId;
    /*
    博客标题
     */
    private String blogTitle;
    /*
    评论人姓名
     */
    private String userName;
    /*
    评论人邮箱
     */
    private String userEmail;
    /*
    创建时间
     */
    private String createdTime;
    /*
    评论内容
     */
    private String content;
    /*
    状态
     */
    private int status;

    /*
    状态常量类
     */
    public static class STATUS {
        public static final int NOT_APPROVED = 0;// 未审核
        public static final int PASSED = 1;// 已通过
        public static final int NOT_PASSED = 2;// 未通过
        public static final int DELETED = 3;// 已删除
    }
}
